package com.heima.comment.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@Document("ap_comment_like")
public class ApArticleCommentLike implements Serializable {
    @TableId(value = "_id",type = IdType.ASSIGN_ID)

    private static final long serialVersionUID = 1L;
    private String id;

    private String _class;

    private Integer authorId;

    private String commentId;

}
